package com.wms.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wms.entity.Source;
import com.wms.entity.Storage;
import com.wms.entity.User;
import com.wms.mapper.SourceMapper;
import com.wms.mapper.StorageMapper;
import com.wms.mapper.UserMapper;
import com.wms.service.SourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wms.service.StorageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/*
@Service
public class SourceServiceImpl extends ServiceImpl<SourceMapper, Source> implements SourceService {

    @Resource
    private SourceMapper sourceMapper;

    @Override
    public IPage<Source> pageCC(IPage<Source> page, Wrapper<Source> wrapper) {
        return sourceMapper.pageCC(page, wrapper);
    }

}
*/
@Service
public class SourceServiceImpl extends ServiceImpl<SourceMapper, Source> implements SourceService {

    @Resource
    private SourceMapper SourceMapper;
    @Override
    public IPage pageCC(IPage<Source> page, Wrapper wrapper) {
        return SourceMapper.pageCC(page,wrapper);
    }
}


